<style type="text/css">
    @media (max-width: 375px) {
        .edit-form tr td input{width:100%;}
        .edit-form tr th:first-child,.edit-form tr td:first-child{
            width:20%;
        }
        .edit-form tr th:last-child,.edit-form tr td:last-child{
            display: none;
        }
    }
</style>
<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <div class="panel-lead">
            平台相关配置
        </div>        
        <ul class="nav nav-tabs">
            <li class="active"><a href="#basic" data-toggle="tab">配置信息</a></li>
        </ul>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="basic">
                <div class="widget-body no-padding">
                    <form id="basic-form" class="edit-form form-horizontal nice-validator n-default n-bootstrap" role="form" data-toggle="validator" method="POST" action="{:url('Other/xgpz')}" novalidate="novalidate">
                        <table class="table table-striped">
                            <thead>
                                <tr>
                                    <th width="15%"></th>
                                    <th width="85%"></th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>返佣金比例</td>
                                    <td>
                                        <div class="row">
                                            <div class="col-sm-8 col-xs-12">
                                                <input type="text" name="rakeback_rate" value="{$data['rakeback_rate']}" class="form-control" data-tip="">
                                            </div>
                                            <div class="col-sm-4"></div>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td>最低提现金额</td>
                                    <td>
                                        <div class="row">
                                            <div class="col-sm-8 col-xs-12">
                                                <input type="text" name="min_tixian" value="{$data['min_tixian']}" class="form-control" data-tip="">
                                            </div>
                                            <div class="col-sm-4"></div>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td>提现扣点比例</td>
                                    <td>
                                        <div class="row">
                                            <div class="col-sm-8 col-xs-12">
                                                <input type="text" name="tixian_deduct" value="{$data['tixian_deduct']}" class="form-control" data-tip="">
                                            </div>
                                            <div class="col-sm-4"></div>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td>平台热线电话</td>
                                    <td>
                                        <div class="row">
                                            <div class="col-sm-8 col-xs-12">
                                                <input type="text" name="pt_phone" value="{$data['pt_phone']}" class="form-control" data-tip="">
                                            </div>
                                            <div class="col-sm-4"></div>
                                        </div>
                                    </td>
                                </tr>
                                
                                <tr>
                                    <td>商家首次发布任务奖励</td>
                                    <td>
                                        <div class="row">
                                            <div class="col-sm-8 col-xs-12">
                                                开：<input type="radio" name="onoff_first_price" value="1"  <?php if($data['onoff_first_price'] == 1):?> checked <?php endif;?>>&nbsp; &nbsp;
                                                关：<input type="radio" name="onoff_first_price" value="0" <?php if($data['onoff_first_price'] == 0):?> checked <?php endif;?>>
                                            </div>
                                            <div class="col-sm-4"></div>
                                        </div>
                                    </td>
                                </tr>
                                
                                <tr>
                                    <td>奖励金额</td>
                                    <td>
                                        <div class="row">
                                            <div class="col-sm-8 col-xs-12">
                                                <input type="text" name="first_price" value="{$data['first_price']}" class="form-control" data-tip="">
                                            </div>
                                            <div class="col-sm-4"></div>
                                        </div>
                                    </td>
                                </tr>
                                
                            </tbody>
                            <tfoot>
                                <tr>
                                    <td></td>
                                    <td>
                                        <button type="submit" class="btn btn-success btn-embossed">确定</button>
                                        <button type="reset" class="btn btn-default btn-embossed">重置</button>
                                    </td>
                                    <td></td>
                                </tr>
                            </tfoot>
                        </table>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>